﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tradex {

    /// <summary>
    /// The ReplayKey is used to identify messages that are coming as part of a replay request for historical data, either
    /// as market data, or as accounting data.
    /// </summary>
    [Serializable()]
    public sealed class ReplayKey {

        /// <summary>
        /// Constructor taking a specific key value.
        /// </summary>
        /// <param name="key"></param>
        public ReplayKey(Guid key) {
            Key = key;
        }

        /// <summary>
        /// Gets the key value.
        /// </summary>
        public Guid Key { get; private set; }

    }
}
